#ifndef ENDRECITETASKDIALOG_H
#define ENDRECITETASKDIALOG_H

#include <iostream>
using namespace std;

#include <QtGui/QWidget>
#include <QDialog>
#include <QPixmap>
#include <QImage>
#include <QPainter>
#include <QPaintEvent>
#include <QSize>

#include "ui_EndReciteTaskDialog.h"

enum SelectedTask
{
	ST_End,
	ST_OpenList,
	ST_Analyse,
	ST_None
};

class EndReciteTaskDialog : public QDialog
{
    Q_OBJECT

public:
    EndReciteTaskDialog(QDialog *parent = 0);
    ~EndReciteTaskDialog();

    //void showThisDialog();
    SelectedTask getSelectedTask(){return mSelectedTask;}
    SelectedTask showThisDialog();

protected:
    virtual void paintEvent ( QPaintEvent * event );

public slots:
    void cancelButtonClicked();
    void endTestButtonClicked();
    void selectListButtonClicked();
    void analyseDataButtonClicked();

private:
    Ui::EndReciteTaskDialogClass ui;
    SelectedTask mSelectedTask;
};

#endif // ENDRECITETASKDIALOG_H
